{extends file="$templateDir/layout/member/layout.tpl"}
{block name=body}
  <div class="container">
      <div class="member_title">
          <div class="member_title_left">会员尊享</div>
          <div class="member_title_right"></div>
      </div>
      <div class="member_edit">
        {if count($data1)>0}
        <h4>消费送积分</h4>
        <ul class="list">
          {foreach from=$data1 item=order key=index}
            <li>{index+1}.消费满{$order->start_val}--{$order->end_val}之间可以送{$order->rate}‰的积分</li>
          {/foreach}
        </ul>
        {/if}
        {if count($data2)>0}
        <h4>充值送积分</h4>
        <ul class="list">
          {foreach from=$data2 item=order key=index}
            <li>{index+1}.充值满{$order->start_val}--{$order->end_val}之间可以送{$order->rate}‰的积分</li>
          {/foreach}
        </ul>
        {/if}
        {if count($data3)>0}
        <h4>充值送金额</h4>
        <ul class="list">
          {foreach from=$data3 item=order key=index}
            <li>{index+1}.充值满{$order->start_val}--{$order->end_val}之间可以送{$order->rate}‰的金额</li>
          {/foreach}
        </ul>
        {/if} 
      </div>
  </div>
{/block}
